package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/3/17.
 */
public class IndustryTitleBean extends BaseBean {

    /**
     * result : 1
     * info : [{"name":"风格","cate":[{"cateid":"114","catename":"集装箱系列"},{"cateid":"115","catename":"酒店系列"},{"cateid":"116","catename":"公寓系列"},{"cateid":"117","catename":"休息度假系列"}]},{"name":"排序","cate":[{"cateid":1,"catename":"收藏量从低到高"},{"cateid":2,"catename":"收藏量从高到低"},{"cateid":3,"catename":"浏览量从低到高"},{"cateid":4,"catename":"浏览量从高到低"},{"cateid":5,"catename":"价格从低到高"},{"cateid":6,"catename":"价格从高到低"}]},{"name":"面积","cate":[{"cateid":1,"catename":"20平方米以下"},{"cateid":2,"catename":"20 ~ 50平方米"},{"cateid":3,"catename":"50 ~ 100平方米"},{"cateid":4,"catename":"100 ~ 200平方米"},{"cateid":5,"catename":"200平方米以上"}]}]
     */

    private String result;
    /**
     * name : 风格
     * cate : [{"cateid":"114","catename":"集装箱系列"},{"cateid":"115","catename":"酒店系列"},{"cateid":"116","catename":"公寓系列"},{"cateid":"117","catename":"休息度假系列"}]
     */

    private List<InfoEntity> info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(List<InfoEntity> info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public List<InfoEntity> getInfo() {
        return info;
    }

    public static class InfoEntity  extends BaseBean{
        private String name;

        @Override
        public String toString() {
            return "InfoEntity{" +
                    "name='" + name + '\'' +
                    ", cate=" + cate.toString() +
                    '}';
        }

        /**
         * cateid : 114
         * catename : 集装箱系列
         */


        private List<CateEntity> cate;

        public void setName(String name) {
            this.name = name;
        }

        public void setCate(List<CateEntity> cate) {
            this.cate = cate;
        }

        public String getName() {
            return name;
        }

        public List<CateEntity> getCate() {
            return cate;
        }

        public static class CateEntity  extends BaseBean{
            private String cateid;
            private String catename;

            @Override
            public String toString() {
                return "CateEntity{" +
                        "cateid='" + cateid + '\'' +
                        ", catename='" + catename + '\'' +
                        '}';
            }

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }

            public String getCateid() {
                return cateid;
            }

            public String getCatename() {
                return catename;
            }
        }
    }
}
